<?php

class Cats_labs extends CI_Model {//这个model处理分类和分类下所属标签的关系

    const Statustrue = True;
    const Statusflase = False;

    function __construct() {
        $this->load->helper('fuc');
        $this->load->library('topclass');
        $this->config->load('sysetting');
        parent::__construct();
    }

    function get_cats() {
        $query = $this->db->get('cats');
        return $cats_array = $query->result_array();
    }

    

   



    
    

}

?>
